package reflect.method;

public class Student {

    private void show() {
        System.out.println("私有无参无返回值");
    }

    public void function1() {
        System.out.println("function1公有无参无返回值");
    }

    public void function2(String name) {
        System.out.println("function2公有有参无返回值"+name);
    }

    public String function3() {
        System.out.println("function3公有无参有返回值");
        return "aaa";
    }

    public String function4(String name) {
        System.out.println("function4公有有参有返回值"+name);
        return "aaa";
    }

}
